@import "../../../static/css/li_mixins.scss";
.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f2f4f7;
  .header {
    padding: 12px 8px;
    display: flex;
    background-color: #fff;

    .right {
      flex: 1;
      margin-left: 8px;
      display: flex;
      flex-direction: column;
      justify-content: center;

      .top {
        text-align: right;
        padding-bottom: 8px;
      }

      .bottom {
        padding-top: 8px;
        border-top: 0.5px solid #c2c2c2;
        display: flex;

        .left {
          font-size: 12px;
          width: 50%;
          padding-right: 5px;
          border-right: 0.5px solid #c2c2c2;
          display: flex;
          justify-content: space-between;
        }
      }
    }
  }

  .grid {
    position: relative;
    margin-top: 20rpx;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 20rpx;
    background-color: #fff;
    border-radius: 10rpx;
    flex: 1;
    .title {
      font-weight: 600;
      font-size: 30rpx;
    }

    .menu {
      display: flex;
      flex-wrap: wrap;

      .item {
        margin-top: 20rpx;
        width: 22%;
        font-size: 24rpx;
        padding: 10rpx;
        display: flex;
        flex-direction: column;
        align-items: center;

        .icon {
          display: block;
          width: 30px;
          height: 30px;
          margin-bottom: 14rpx;
        }
      }
    }

    &-container {
      display: grid;
      grid-template-areas: "avatar login logout";
      grid-template-columns: 70px 1fr;
      margin-top: 8px;
      margin-left: 8px;
      grid-column-gap: 8px;

      .grid {
        &-login {
          grid-area: login;
          align-self: center;
          font-weight: bold;
          font-size: 18px;
        }

        &-has-login {
          grid-area: login;
          display: flex;
          flex-direction: column;
          justify-content: center;
          .phone {
            margin-bottom: 2px;
            color: #141414;
          }
          .nickname {
            margin-top: 2px;
            color: #858585;
          }
        }
      }

      .logout {
        grid-area: logout;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        color: $li-primary-color;
      }
    }
  }

  .m-c {
    margin-top: 20rpx;
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
    .i {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 13px;
      font-weight: 500;
      .t {
        color: #141414;
      }
      .v {
        color: #858585;
        margin-top: 5px;
      }
    }
  }

  // order list
  .o-c {
    padding: 20rpx;
    margin-left: 8px;
    margin-right: 8px;
    background-color: #fff;
    border-radius: 10rpx;
    font-size: 12px;

    .o-h {
      font-weight: bold;
    }

    .o-i {
      flex: 1;
      @include flex-center;
      flex-direction: column;
      &s {
        display: flex;
      }

      .img {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
        margin-top: 10px;
      }
    }

  }
}
